package com.bingxue.edu.common.enums;

import com.bingxue.edu.framework.enums.Dict;
import com.bingxue.edu.framework.enums.DictEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import com.mybatisflex.annotation.EnumValue;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 字典类型
 */
@Getter
@RequiredArgsConstructor
@Dict("字典类型")
public enum DictTypeEnum implements DictEnum<String> {
    SYSTEM_DICT("system","系统字典"),
    CUSTOM_DICT("custom","自定义字典");


    @EnumValue
    @JsonValue
    private final String value;
    private final String label;


}
